import 'package:json_annotation/json_annotation.dart';

part 'ciot_product_model_api.g.dart';



@JsonSerializable()
class ResponseCiotProductModelApi {
  final String id;
  final String applianceType;
  final String applianceTypeName;
  final String pid;
  final String name;
  final String model;
  final String imgUrl;
  final String imgUrlStr;
  final String devType;
  final String devTypeRemark;
  final String otherConfig;
  final String remark;
  final String status;
  final String delFlag;
  final String createTime;
  final String updateTime;

  ResponseCiotProductModelApi({
    required this.id,
    required this.applianceType,
    required this.applianceTypeName,
    required this.pid,
    required this.name,
    required this.model,
    required this.imgUrl,
    required this.imgUrlStr,
    required this.devType,
    required this.devTypeRemark,
    required this.otherConfig,
    required this.remark,
    required this.status,
    required this.delFlag,
    required this.createTime,
    required this.updateTime,
  });

  factory ResponseCiotProductModelApi.fromJson(Map<String, dynamic> json) =>
      _$ResponseCiotProductModelApiFromJson(json);

  Map<String, dynamic> toJson() => _$ResponseCiotProductModelApiToJson(this);
}